package cn.itcast.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name="tb_order_log")
@Data
public class OrderLog {
    @Id
    @Column(name="id")
    private Long id;
    @Column(name="startDate")
    private Date startDate;
    @Column(name="endDate")
    private Date endDate;
    @Column(name="totalNum")
    private Integer totalNum;
    @Column(name="totalMoney")
    private BigDecimal totalMoney;
}